package com.crr.mall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
@EnableDiscoveryClient//开启服务注册客户端
@EnableFeignClients// 开启远程调用功能
@RefreshScope
@SpringBootApplication
public class CouponApp {

    public static void main(String[] args) {
        SpringApplication.run(CouponApp.class, args);
    }

}
